/* Feitio Pedagógico · site v3. Ateliê de costura: etiqueta, fita métrica, pesponto. */
:root {
  --surface: #F7F3EC; --surface-2: #EDE5D8; --paper: #FFFFFF; --ink: #1E2B3A; --ink-muted: #5E5850; --line: #D6CCBC;
  --brand: #1F5F63; --brand-strong: #164548; --on-brand: #F7F3EC; --accent: #E3A72F; --on-accent: #1E2B3A; --thread: #A9442E;
  --shadow: 0 1px 2px rgba(30,43,58,.08), 0 10px 28px rgba(30,43,58,.14);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --r-sm: 4px; --r-md: 10px; --r-lg: 16px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --surface: #1C1A17; --surface-2: #2A2622; --paper: #F4F1EC; --ink: #F2EDE4; --ink-muted: #B7AFA3; --line: #433D36;
  --brand: #6FB3B1; --brand-strong: #9ACFCD; --on-brand: #14201F; --accent: #E8B24A; --on-accent: #1C1A17; --thread: #E07A60;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.4); color-scheme: dark } }
:root[data-theme="dark"] {
  --surface: #1C1A17; --surface-2: #2A2622; --paper: #F4F1EC; --ink: #F2EDE4; --ink-muted: #B7AFA3; --line: #433D36;
  --brand: #6FB3B1; --brand-strong: #9ACFCD; --on-brand: #14201F; --accent: #E8B24A; --on-accent: #1C1A17; --thread: #E07A60;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.4); color-scheme: dark }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(30px, 4.5vw, 44px); }
h3 { font-size: 21px; }
p { margin: 0; }
a { color: var(--brand); }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--thread); }
.etapa { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.lead { color: var(--ink-muted); max-width: 62ch; }
.desc { color: var(--ink-muted); font-size: 15px; }
.note { margin-top: 24px; color: var(--ink-muted); font-size: 16px; padding-left: 26px; position: relative; max-width: 72ch; }
.note::before { content: ""; position: absolute; left: 0; top: .6em; width: 14px; border-top: 2px dashed var(--thread); }

/* Faixa e cabeçalho */
.faixa { background: var(--brand); color: var(--on-brand); font-size: 15px; }
.faixa .wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; padding-block: 9px; text-align: center; }
.faixa a { color: var(--accent); font-weight: 700; }
header.top { padding-block: 18px; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand span { font-family: var(--display); font-weight: 600; font-size: 22px; }
.ia { display: inline-block; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .06em; line-height: 1; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); vertical-align: top; }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
nav a { color: var(--ink); text-decoration: none; padding-block: 2px; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--brand); }
nav a[aria-current="page"] { color: var(--brand); border-bottom: 2px dashed var(--brand); }

/* Botões */
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--r-md); font-weight: 700; font-size: 16px; text-decoration: none; background: var(--brand); color: var(--on-brand); border: 2px solid var(--brand); cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
.btn.ghost { background: transparent; color: var(--brand); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.small { padding: 8px 14px; font-size: 15px; }
.breve { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--thread); border: 2px dashed var(--thread); border-radius: var(--r-sm); padding: 3px 9px; }
.valor { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }

/* Fita métrica */
.tape { height: 30px; margin-block: 8px; background:
  repeating-linear-gradient(90deg, var(--on-accent) 0 1.5px, transparent 1.5px 100%) 0 0 / 80px 14px no-repeat,
  repeating-linear-gradient(90deg, var(--on-accent) 0 1px, transparent 1px 8px) 0 0 / 100% 7px no-repeat,
  repeating-linear-gradient(90deg, var(--on-accent) 0 1.5px, transparent 1.5px 40px) 0 0 / 100% 12px no-repeat,
  var(--accent); opacity: .9; }

section { padding-block: 64px; }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.head-linha { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.head-linha .head { margin-bottom: 0; }
.bloco.tom { background: var(--surface-2); }

/* Herói da página inicial */
.hero { padding-block: 48px 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1, .pg-hero h1 { font-size: clamp(40px, 6.5vw, 72px); letter-spacing: -.01em; }
.hero h1 em, .pg-hero h1 em { font-style: italic; font-weight: 500; color: var(--brand); }
.hero .text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.tag-hang { display: flex; justify-content: center; }
.tag { position: relative; width: min(380px, 100%); background: var(--brand); color: var(--on-brand); padding: 64px 30px 30px; border-radius: var(--r-md);
  clip-path: polygon(22% 0, 78% 0, 100% 14%, 100% 100%, 0 100%, 0 14%); transform: rotate(-3deg); transform-origin: 50% 0; }
.tag::before { content: ""; position: absolute; top: 22px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--surface); }
.tag-inner { border: 2px dashed var(--accent); border-radius: var(--r-sm); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.tag-title { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.tag dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 15px; }
.tag dt { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; padding-top: 2px; }
.tag dd { margin: 0; }
.tag .made { font-size: 13px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--on-brand) 30%, transparent); display: flex; align-items: center; gap: 8px; }

/* Herói das páginas internas */
.pg-hero { padding-block: 52px 40px; }
.pg-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.cn-hero { background: var(--ink); color: var(--surface); }
.cn-hero .lead { color: color-mix(in srgb, var(--surface) 80%, transparent); }
.cn-hero h1 em { color: var(--accent); }
.cn-hero .eyebrow { color: var(--accent); }
.cn-hero .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cn-hero .btn.ghost { background: transparent; color: var(--surface); border-color: var(--surface); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cn-hero { background: #0F1418; color: var(--ink); } }
.atalhos { gap: 10px; }
.atalhos a { border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Coleções na página inicial */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: var(--ink); background: var(--surface-2); border-radius: var(--r-lg); padding: 22px 22px 24px; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile.destaque { background: var(--ink); color: var(--surface); }
.tile.destaque .desc, .tile.destaque .etapa { color: color-mix(in srgb, var(--surface) 75%, transparent); }
.tile.destaque .seta { color: var(--accent); }
.tile h3 { font-size: 26px; }
.tile-txt { display: flex; flex-direction: column; gap: 8px; }
.seta { font-weight: 700; color: var(--brand); margin-top: 4px; }
.leque { position: relative; height: 250px; }
.leque img { position: absolute; top: 10px; width: 46%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow); transition: transform .25s ease; }
.leque img:nth-child(1) { left: 2%; transform: rotate(-7deg); }
.leque img:nth-child(2) { left: 27%; transform: rotate(0deg); z-index: 2; top: 0; }
.leque img:nth-child(3) { left: 52%; transform: rotate(7deg); }
.tile:hover .leque img:nth-child(1) { transform: rotate(-10deg) translateX(-6px); }
.tile:hover .leque img:nth-child(3) { transform: rotate(10deg) translateX(6px); }

/* Grade de atividades */
.grade { display: grid; gap: 28px 24px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.capa { position: relative; display: block; border: 0; padding: 0; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); margin-bottom: 8px; transition: transform .2s ease; }
.capa img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.capa:hover { transform: translateY(-3px) rotate(-.5deg); }
.lupa { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; background: rgba(30,43,58,.88); color: #F7F3EC; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.capa:hover .lupa, .capa:focus-visible .lupa { opacity: 1; }
@media (hover: none) { .lupa { opacity: 1; } }
.card h3 { font-size: 20px; }
.cfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.kitcard { background: var(--k-bg); color: var(--k-fg); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.kitcard::after { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--k-selo); border-radius: 10px; opacity: .55; pointer-events: none; }
.kitcard .etapa { color: inherit; opacity: .85; }
.kitcard h3 { font-size: 26px; }
.kitcard ul { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.kitcard .valor { color: inherit; }
.kitcard .btn { background: var(--surface); color: var(--ink); border-color: var(--surface); position: relative; z-index: 1; }

/* Abas dos kits */
.abas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.aba { font: inherit; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--brand); background: transparent; color: var(--brand); cursor: pointer; }
.aba[aria-selected="true"] { background: var(--brand); color: var(--on-brand); }
.kit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.kit-head h3 { font-size: 30px; }
.kit-acao { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Sob medida, mostruário, ficha, quem faz */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px dashed var(--line); min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 36px; font-weight: 500; color: var(--thread); line-height: 1; }
.steps p { color: var(--ink-muted); font-size: 16px; }
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.piece { background: var(--surface-2); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.piece .price { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--brand); }
.piece .price small { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.piece ul { margin: 0; padding-left: 18px; color: var(--ink-muted); font-size: 16px; display: grid; gap: 4px; }
.sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.sheet { background: #FFFDF8; color: #1E2B3A; border-radius: var(--r-sm); padding: 26px 26px 30px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(30,43,58,.45); transform: rotate(1.5deg); font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; gap: 10px; max-width: 420px; justify-self: center; width: 100%; }
.sheet .s-head { display: flex; justify-content: space-between; font-size: 11px; color: #5E5850; border-bottom: 1px solid #D6CCBC; padding-bottom: 6px; }
.sheet h4 { font-family: var(--display); font-size: 20px; margin: 0; }
.sheet .dots { color: #8A8378; letter-spacing: 1px; overflow: hidden; white-space: nowrap; }
.sheet .opt { color: #5E5850; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-muted); }
.measure { background: var(--brand); color: var(--on-brand); border-radius: var(--r-md); padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.measure .eyebrow { color: var(--accent); }
.measure .lead { color: var(--on-brand); opacity: .85; }
.measure .btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.fields { list-style: none; margin: 0; padding: 0; display: grid; border: 2px dashed var(--accent); border-radius: var(--r-sm); }
.fields li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent); font-size: 16px; }
.fields li:last-child { border-bottom: 0; }
.fields span:last-child { opacity: .7; font-size: 14px; text-align: right; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.two > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.terms { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.terms li { padding-left: 26px; position: relative; color: var(--ink-muted); }
.terms li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; border-top: 2px dashed var(--thread); }

footer { padding-block: 40px 56px; border-top: 2px dashed var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-muted); }
footer .copy { user-select: all; color: var(--ink); font-weight: 600; }

/* Visualizador */
dialog#visor { border: 0; padding: 0; width: min(980px, calc(100% - 20px)); max-height: calc(100% - 20px); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow); }
dialog#visor::backdrop { background: rgba(15,20,24,.72); }
.vhead { position: sticky; top: 0; z-index: 2; background: var(--surface); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.vhead h2 { font-size: clamp(20px, 3vw, 28px); }
.fechar { flex: none; border: 0; background: var(--surface-2); color: var(--ink); width: 42px; height: 42px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.vnota { padding: 12px 20px 0; color: var(--ink-muted); font-size: 15px; }
.vpaginas { padding: 18px 20px 24px; display: grid; gap: 18px; justify-items: center; }
.vpaginas figure { margin: 0; display: grid; gap: 6px; justify-items: center; width: 100%; }
.vpaginas img { width: 100%; max-width: 760px; background: #fff; box-shadow: var(--shadow); border-radius: 3px; }
.vpaginas.uma img { max-width: 880px; }
.vpaginas figcaption { font-size: 13px; color: var(--ink-muted); }
.vpe { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 14px 20px; display: flex; justify-content: flex-end; gap: 12px; align-items: center; flex-wrap: wrap; }

@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}
@media (max-width: 860px) {
  .hero .wrap, .sample, .measure, .two { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tile { grid-template-columns: minmax(0, 1fr); }
  .leque { height: 210px; }
  .g3, .g4 { gap: 22px 14px; }
  .card h3 { font-size: 17px; }
  .card .desc { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  nav { gap: 12px; font-size: 14px; }
  section { padding-block: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: sway 5s ease-in-out 1 both; }
  @keyframes sway { 0% { transform: rotate(-7deg); } 35% { transform: rotate(1deg); } 65% { transform: rotate(-4deg); } 100% { transform: rotate(-3deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .capa, .tile, .leque img { transition: none; } }

/* termos.html */
.legal .estreito { max-width: 760px; }
.legal section { padding-block: 56px 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin: 8px 0 14px; }
.legal h2 { margin: 48px 0 8px; scroll-margin-top: 90px; }
.legal h3 { margin: 28px 0 8px; font-size: 19px; }
.legal p, .legal li { color: var(--ink-muted); line-height: 1.6; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal b { color: var(--ink); }
.legal .indice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.legal .indice a { padding: 8px 14px; border: 1.5px dashed var(--thread); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.legal .tabela { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); vertical-align: top; }
.legal th { color: var(--ink); }
.legal .tape { margin-top: 48px; }
footer a { color: inherit; }

/* ================= v4: mais cor, fundos e movimento ================= */
:root {
  --linho: #F7F3EC; --amarelo: #E3A72F; --amarelo-claro: #F8E7BF; --terracota: #A9442E; --terracota-claro: #F3DCD2;
  --petroleo-fundo: #1F5F63; --petroleo-claro: #D7E9E6; --tinta-fundo: #1E2B3A; --claro: #F7F3EC;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --linho: #1C1A17; --amarelo: #C98F1E; --amarelo-claro: #352B16; --terracota: #8E3826; --terracota-claro: #36231D;
  --petroleo-fundo: #17393B; --petroleo-claro: #183230; --tinta-fundo: #10171F; } }
:root[data-theme="dark"] {
  --linho: #1C1A17; --amarelo: #C98F1E; --amarelo-claro: #352B16; --terracota: #8E3826; --terracota-claro: #36231D;
  --petroleo-fundo: #17393B; --petroleo-claro: #183230; --tinta-fundo: #10171F; }

.pular { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.pular:focus { left: 8px; }
section { padding-block: 72px; }

/* Fundos de seção */
.fundo.linho { background: var(--linho); }
.fundo.amarelo { background: var(--amarelo); color: #1E2B3A; }
.fundo.amarelo .eyebrow { color: #1E2B3A; }
.fundo.amarelo .lead, .fundo.amarelo .etapa, .fundo.amarelo .desc { color: #3A3328; }
.fundo.amarelo h1 em { color: #7A2C1C; }
.fundo.amarelo .atalhos a { border-color: rgba(30,43,58,.35); color: #1E2B3A; }
.fundo.amarelo-claro { background: var(--amarelo-claro); }
.fundo.terracota-claro { background: var(--terracota-claro); }
.fundo.petroleo-claro { background: var(--petroleo-claro); }
.fundo.terracota { background: var(--terracota); color: var(--claro); }
.fundo.terracota .lead { color: color-mix(in srgb, var(--claro) 85%, transparent); }
.escuro { color: var(--claro); }
.escuro.petroleo { background: var(--petroleo-fundo); }
.escuro.tinta { background: var(--tinta-fundo); }
.escuro .eyebrow { color: var(--amarelo); }
.escuro .lead, .escuro .etapa, .escuro .desc { color: color-mix(in srgb, var(--claro) 80%, transparent); }
.escuro h1 em, .escuro h2 em { color: var(--amarelo); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .escuro { color: #F2EDE4; } :root:not([data-theme="light"]) .fundo.amarelo { color: #1C1A17; } }

/* Botões coloridos */
.btn.amarelo { background: #E3A72F; border-color: #E3A72F; color: #1E2B3A; }
.btn.amarelo:hover { background: #F0B947; border-color: #F0B947; }
.btn.ghost.claro { color: var(--claro); border-color: var(--claro); }
.btn.ghost.claro:hover { background: rgba(247,243,236,.12); }
.btn.grande { padding: 16px 28px; font-size: 18px; }
.btn { transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.ic { width: 24px; height: 24px; flex: none; }
.ic.mini { width: 18px; height: 18px; vertical-align: -3px; }
.ic.grande { width: 34px; height: 34px; }
.eyebrow .ic.mini { margin-right: 4px; }

/* Cabeçalho fixo com botão de pedido */
header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding-block: 12px; }
header.top .wrap { flex-wrap: nowrap; }
header.top nav { margin-left: auto; }
.btn.pedido { padding: 9px 16px; font-size: 15px; background: var(--thread); border-color: var(--thread); color: #F7F3EC; white-space: nowrap; }
.btn.pedido:hover { background: #8E3826; border-color: #8E3826; }
.faixa { background: var(--terracota); color: #F7F3EC; }
.faixa a { color: #F8E7BF; }

/* Heróis em grade com colagem de capas */
.hero, .pg-hero { padding-block: 64px 72px; overflow: hidden; }
.hero-grade { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pg-hero .wrap.hero-grade { display: grid; flex-direction: initial; }
.hero-grade .texto { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-vitrine { position: relative; min-height: 420px; }
.colagem { position: relative; height: 440px; }
.colagem img { position: absolute; width: 46%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 24px 50px -16px rgba(0,0,0,.45); }
.colagem img:nth-child(1) { left: 2%; top: 4%; --r: -8deg; transform: rotate(var(--r)); }
.colagem img:nth-child(2) { left: 50%; top: 0; --r: 6deg; transform: rotate(var(--r)); }
.colagem img:nth-child(3) { left: 10%; top: 44%; --r: 4deg; transform: rotate(var(--r)); z-index: 2; }
.colagem img:nth-child(4) { left: 52%; top: 46%; --r: -5deg; transform: rotate(var(--r)); }
.hero-vitrine .colagem { position: absolute; inset: 0; }
.selo-gira { position: absolute; width: 132px; height: 132px; right: -6px; bottom: -10px; z-index: 5; filter: drop-shadow(0 8px 16px rgba(0,0,0,.3)); }
.selo-gira .sg-fundo { fill: #E3A72F; }
.selo-gira .sg-txt { font: 700 11.5px var(--sans); letter-spacing: .14em; fill: #1E2B3A; }
.selo-gira .sg-ia { font: 600 34px var(--display); fill: #1E2B3A; }
.selo-gira text:first-of-type { transform-origin: 60px 60px; }
.hero-vitrine > .selo-gira:only-child { position: relative; width: min(280px, 70%); height: auto; margin: 0 auto; display: block; right: auto; bottom: auto; }
.pilulas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pilulas li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(247,243,236,.1); border: 1.5px solid rgba(247,243,236,.3); font-weight: 600; font-size: 15px; }
.passos-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.passos-mini li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 18px; }
.passos-mini .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #1E2B3A; color: #E3A72F; }

/* Costura ondulada entre seções */
.costura { height: 40px; margin-top: -1px; background: var(--para); line-height: 0; }
.costura svg { width: 100%; height: 100%; display: block; }
.costura .c-de { fill: var(--de); }
.costura .c-linha { fill: none; stroke: var(--amarelo); stroke-width: 2.5; stroke-dasharray: 10 8; opacity: .8; }

/* Esteira de capas */
.esteira { padding-block: 28px; overflow: hidden; }
.esteira-trilho { overflow: hidden; }
.esteira-faixa { display: flex; gap: 18px; width: max-content; }
.esteira-faixa a { display: block; width: 150px; flex: none; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); transition: transform .2s ease; }
.esteira-faixa a:nth-child(odd) { transform: rotate(-2deg); }
.esteira-faixa a:nth-child(even) { transform: rotate(2deg) translateY(6px); }
.esteira-faixa a:hover { transform: scale(1.06) rotate(0); }
.esteira-faixa img { display: block; width: 100%; height: auto; }

/* Coleções coloridas */
.tile.cor-tinta { background: var(--tinta-fundo); color: var(--claro); }
.tile.cor-terracota { background: var(--terracota); color: var(--claro); }
.tile.cor-petroleo { background: var(--petroleo-fundo); color: var(--claro); }
.tile[class*="cor-"] .desc, .tile[class*="cor-"] .etapa { color: color-mix(in srgb, var(--claro) 78%, transparent); }
.tile[class*="cor-"] .seta { color: #F8C55A; display: inline-flex; align-items: center; gap: 6px; }
.tile:hover .seta .ic { transform: translateX(4px); }
.seta .ic { transition: transform .2s ease; }

/* Dois jeitos e peças */
.dois-jeitos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jeito, .peca { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 20px; text-decoration: none; color: #1E2B3A; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.jeito::after, .peca::after { content: ""; position: absolute; inset: 10px; border: 2px dashed currentColor; border-radius: 14px; opacity: .25; pointer-events: none; }
a.jeito:hover, .peca:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.cor-amarelo { background: #E3A72F; color: #1E2B3A; }
.cor-terracota { background: #A9442E; color: #F7F3EC; }
.cor-petroleo { background: #1F5F63; color: #F7F3EC; }
.jeito h3, .peca h3 { font-size: 30px; }
.jeito-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); }
.jeito-preco { font-size: 18px; }
.jeito-preco b, .peca-preco { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; }
.jeito ul, .peca ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 600; }
.jeito li { display: flex; align-items: center; gap: 8px; }
.peca li::before { content: "✓ "; font-weight: 700; }
.jeito .seta { color: inherit; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.pecas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.peca p { opacity: .9; }

/* Números */
.numeros { padding-block: 56px; }
.numeros-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.numeros-lista li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 600; }
.numeros-lista b { font-family: var(--display); font-size: 56px; line-height: 1; color: #E3A72F; font-variant-numeric: tabular-nums; }
.numeros-lista .ic.grande { width: 56px; height: 56px; color: #E3A72F; }
.numeros-lista span { color: color-mix(in srgb, var(--claro) 82%, transparent); }

/* Chamada final */
.chamada { padding-block: 64px; }
.chamada-grade { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.chamada h2 { margin-bottom: 8px; }

/* Passos do sob medida */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.passos::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; border-top: 3px dashed rgba(227,167,47,.7); }
.passos li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; min-width: 0; }
.passo-ic { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: #E3A72F; color: #1E2B3A; box-shadow: 0 0 0 8px var(--petroleo-fundo); }
.passos li:nth-child(2) .passo-ic { background: #F3DCD2; }
.passos li:nth-child(3) .passo-ic { background: #D7E9E6; }
.passos li:nth-child(4) .passo-ic { background: #F7F3EC; }
.passos p { color: color-mix(in srgb, var(--claro) 80%, transparent); font-size: 16px; }
.sample-txt { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.measure { background: var(--petroleo-fundo); color: #F7F3EC; }
.measure-txt { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.measure .btn { background: #E3A72F; border-color: #E3A72F; color: #1E2B3A; }
.tag { background: var(--petroleo-fundo); color: #F7F3EC; }
.tag::before { background: var(--terracota-claro); }

/* Kits e listas */
.aba { border-color: var(--k-bg, var(--brand)); color: var(--ink); }
.aba[aria-selected="true"] { background: var(--k-bg, var(--brand)); color: var(--k-fg, var(--on-brand)); border-color: var(--k-bg, var(--brand)); }
.kit-head { background: var(--k-bg); color: var(--k-fg); border-radius: 16px; padding: 20px 24px; }
.kit-head .etapa, .kit-head .valor { color: inherit; }
.kit-head .btn { background: #F7F3EC; border-color: #F7F3EC; color: #1E2B3A; }
.etiqueta-preco { background: var(--paper); color: #1E2B3A; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); }
.etiqueta-preco .etapa { color: #5E5850; }
.etiqueta-preco .valor { color: #1F5F63; }
.g1 { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.avulsa-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 40px; align-items: center; }
.avulsa-grade .head { margin-bottom: 0; }
.selos-info { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.selos-info li { display: flex; align-items: center; gap: 14px; background: var(--paper); color: #1E2B3A; border-radius: 14px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(30,43,58,.08); }
.selos-info .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #F8E7BF; color: #A9442E; }
.selos-info span { display: flex; flex-direction: column; font-size: 15px; color: #5E5850; }
.selos-info b { color: #1E2B3A; font-size: 16px; }
.selos-info.coluna { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
.selos-info.coluna span { color: #1E2B3A; font-size: 17px; }

/* Rodapé colorido */
footer { background: var(--tinta-fundo); color: #F7F3EC; border-top: 0; padding-block: 48px; }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; color: color-mix(in srgb, #F7F3EC 80%, transparent); }
.pe-titulo { font-family: var(--display); font-size: 24px; color: #F7F3EC; margin-bottom: 6px; }
.pe-links { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.pe-links a { color: #F7F3EC; text-decoration: none; font-weight: 600; border: 0; }
.pe-links a:hover { color: #E3A72F; }
footer .copy { color: #F8C55A; }

/* Movimento */
@media (prefers-reduced-motion: no-preference) {
  .js .revela { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .js .revela.visivel { opacity: 1; transform: none; }
  .colagem img { animation: flutua 7s ease-in-out infinite; }
  .colagem img:nth-child(2) { animation-delay: -2s; animation-duration: 8s; }
  .colagem img:nth-child(3) { animation-delay: -4s; animation-duration: 6.5s; }
  .colagem img:nth-child(4) { animation-delay: -1s; animation-duration: 7.5s; }
  @keyframes flutua { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) * -.4)) translateY(-12px); } }
  .selo-gira .sg-txt { animation: gira 18s linear infinite; transform-origin: 60px 60px; transform-box: view-box; }
  @keyframes gira { to { transform: rotate(360deg); } }
  .esteira-faixa { animation: esteira 60s linear infinite; }
  .esteira:hover .esteira-faixa { animation-play-state: paused; }
  @keyframes esteira { to { transform: translateX(-50%); } }
  .costura .c-linha { animation: pesponto 2.4s linear infinite; }
  @keyframes pesponto { to { stroke-dashoffset: -36; } }
  .jeito-ic, .passo-ic { transition: transform .3s ease; }
  .jeito:hover .jeito-ic, .peca:hover .jeito-ic, .passos li:hover .passo-ic { transform: rotate(-8deg) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .esteira-trilho { overflow-x: auto; } }

@media (max-width: 960px) {
  header.top .wrap { flex-wrap: wrap; }
  header.top nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  header.top nav a { white-space: nowrap; }
  .btn.pedido { margin-left: auto; }
  .pecas, .numeros-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .selos-info { grid-template-columns: minmax(0, 1fr); }
  .tile[class*="cor-"] { display: grid; }
}
@media (max-width: 860px) {
  .hero-grade, .dois-jeitos, .avulsa-grade { grid-template-columns: minmax(0, 1fr); }
  .hero-vitrine { min-height: 340px; }
  .colagem { height: 340px; }
  .pg-hero .colagem { height: 320px; }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passos::before { display: none; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  section { padding-block: 52px; }
  .hero, .pg-hero { padding-block: 40px 48px; }
  .pecas, .passos { grid-template-columns: minmax(0, 1fr); }
  .numeros-lista b { font-size: 44px; }
  .colagem, .hero-vitrine { height: 280px; min-height: 280px; }
  .selo-gira { width: 100px; height: 100px; }
  .esteira-faixa a { width: 112px; }
  .jeito, .peca { padding: 26px; }
  .faixa { font-size: 14px; }
  .brand span { font-size: 19px; }
}
@media (max-width: 600px) {
  header.top .wrap { gap: 10px; }
  header.top .brand .ia { display: none; }
  header.top .brand svg { width: 36px; height: 36px; }
  .btn.pedido { padding: 8px 12px; font-size: 14px; }
  header.top nav { flex-wrap: wrap; overflow: visible; gap: 4px 14px; }
  .esteira { padding-block: 22px; }
}
.esteira { padding-block: 34px; }

/* ================= v5: rabisco de caderno, menu do celular e a turma ================= */
:root {
  --caneta: #24459E; --pauta: rgba(143,166,214,.32); --margem: rgba(214,69,69,.38); --marca-texto: rgba(255,228,92,.78);
  --risco-amarelo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 52 2 80-2s60-5 80 0 30 1 34-2' fill='none' stroke='%23F2C14E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  --risco-terracota: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c30-6 52 2 80-2s60-5 80 0 30 1 34-2' fill='none' stroke='%23A9442E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --pauta: rgba(143,166,214,.12); --margem: rgba(224,122,96,.22); --marca-texto: rgba(201,143,30,.5); } }
:root[data-theme="dark"] { --pauta: rgba(143,166,214,.12); --margem: rgba(224,122,96,.22); --marca-texto: rgba(201,143,30,.5); }

/* Cabeçalho: fica mais baixo ao rolar; lápis risca a página conforme a leitura */
header.top { transition: padding .2s ease, box-shadow .2s ease; }
header.top.rolou { padding-block: 7px; box-shadow: 0 6px 18px -12px rgba(30,43,58,.45); }
.lapis { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.lapis span { display: block; height: 100%; background: linear-gradient(90deg, var(--terracota), #E3A72F); border-radius: 0 3px 3px 0; transform: scaleX(0); transform-origin: 0 50%; }
nav a[aria-current="page"] { border-bottom: 0; color: var(--ink); background: linear-gradient(transparent 52%, var(--marca-texto) 52% 92%, transparent 92%); padding-inline: 3px; border-radius: 2px; }

/* Botão de menu (só no celular) */
.menu-btn { display: none; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); background: transparent; border: 2px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.menu-ic { display: grid; gap: 4px; width: 18px; }
.menu-ic i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
header.top.aberto .menu-ic i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
header.top.aberto .menu-ic i:nth-child(2) { opacity: 0; }
header.top.aberto .menu-ic i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  header.top .wrap { flex-wrap: wrap; gap: 10px; }
  header.top .btn.pedido { margin-left: auto; }
  header.top nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; margin: 4px 0 6px; padding: 6px 0; border-top: 2px dashed var(--line); overflow: visible; }
  header.top.aberto nav { display: flex; }
  header.top nav a { padding: 11px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  header.top nav a:last-child { border-bottom: 0; }
  header.top nav a[aria-current="page"] { background: none; color: var(--thread); }
}
@media (max-width: 600px) { .menu-txt { display: none; } .menu-btn { padding: 9px 10px; } }
@media (max-width: 400px) { header.top .brand svg { display: none; } header.top .brand span { font-size: 18px; } }

/* Folha de caderno com a cena desenhada */
.papel-cena { position: relative; background:
    linear-gradient(90deg, transparent 0 34px, var(--margem) 34px 36px, transparent 36px),
    repeating-linear-gradient(#FFFDF5 0 27px, rgba(143,166,214,.45) 27px 28px) #FFFDF5;
  border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,.15), 0 24px 50px -18px rgba(0,0,0,.45); transform: rotate(-1.6deg); padding: 10px 6px 4px; }
.papel-cena::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; margin-left: -55px; background: rgba(248,197,90,.82); transform: rotate(2deg); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.papel-cena svg, .cena-mini svg, .cena-solta svg, .ator-cena svg { display: block; width: 100%; height: auto; }
.hero-vitrine { min-height: 0; padding: 14px 6px 18px; }
.hero-vitrine .selo-gira { right: -10px; bottom: -18px; }
.papel-cena.larga { transform: rotate(1.2deg); }
.cena-mini { flex: none; width: 140px; }
.cena-solta { width: min(330px, 100%); }
.termos-cena { float: right; width: 150px; margin: -8px 0 8px 16px; }

/* Folha pautada como fundo de algumas seções claras */
.pautado { background-image: repeating-linear-gradient(transparent 0 31px, var(--pauta) 31px 32px); }
@media (min-width: 761px) { .pautado { background-image: linear-gradient(90deg, transparent 0 56px, var(--margem) 56px 58px, transparent 58px), repeating-linear-gradient(transparent 0 31px, var(--pauta) 31px 32px); } }

/* Sublinhado de caneta que se desenha quando o título aparece */
em.sublinha { background-image: var(--risco-amarelo); background-repeat: no-repeat; background-position: 0 96%; background-size: 100% .32em; padding-bottom: .06em; }
.fundo.amarelo em.sublinha, .fundo.terracota-claro em.sublinha, .fundo.linho em.sublinha { background-image: var(--risco-terracota); }
.risco::after { content: ""; display: block; width: 120px; height: 12px; margin-top: 10px; background: var(--risco-terracota) no-repeat 0 0 / 100% 100%; transform-origin: 0 50%; }
.escuro .risco::after, .fundo.terracota .risco::after { background-image: var(--risco-amarelo); }
@media (prefers-reduced-motion: no-preference) {
  .js .revela em.sublinha { background-size: 0 .32em; transition: background-size .9s cubic-bezier(.5,0,.2,1) .45s; }
  .js .revela.visivel em.sublinha { background-size: 100% .32em; }
  .js .revela .risco::after { transform: scaleX(0); transition: transform .8s cubic-bezier(.5,0,.2,1) .35s; }
  .js .revela.visivel .risco::after { transform: none; }
  .papel-cena { transition: transform .4s ease; }
  .hero-vitrine:hover .papel-cena { transform: rotate(0deg) scale(1.01); }
}

/* Cabeças de seção com cena ou etiqueta ao lado */
.head-linha.com-cena { align-items: center; }
.head-linha.com-tag { align-items: center; }
.head-linha.com-tag .tag-hang { width: min(340px, 100%); }
.tag { width: min(380px, calc(100% - 24px)); }

/* Faixa da turma na página inicial */
.turma-faixa { padding-block: 72px; }
.turma-grade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.turma-grade .texto { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Chamada com a coordenadora */
.chamada-grade { flex-wrap: nowrap; }
.chamada-txt { flex: 1 1 auto; min-width: 0; }

/* Página A turma: vídeos */
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.reel { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.reel-tela { position: relative; border-radius: 16px; overflow: hidden; background: #FFFDF5; box-shadow: var(--shadow); aspect-ratio: 9 / 16; }
.reel:nth-child(odd) .reel-tela { transform: rotate(-.8deg); }
.reel:nth-child(even) .reel-tela { transform: rotate(.8deg); }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; background: #FFFDF5; }
.reel figcaption { display: flex; flex-direction: column; gap: 2px; }
.reel figcaption b { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; }
.reel-selo { position: absolute; top: 12px; left: 12px; background: #E3A72F; color: #1E2B3A; font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); pointer-events: none; }

/* Página A turma: elenco */
.elenco { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 18px; }
.ator { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ator-cena { background: repeating-linear-gradient(#FFFDF5 0 23px, rgba(143,166,214,.45) 23px 24px) #FFFDF5; border-radius: 10px; box-shadow: 0 1px 3px rgba(30,43,58,.12); margin-bottom: 8px; transition: transform .2s ease; }
.ator:hover .ator-cena { transform: rotate(-1.5deg) translateY(-3px); }
.ator h3 { font-size: 18px; }
.ator p { color: var(--ink-muted); font-size: 15px; line-height: 1.4; }

@media (max-width: 960px) {
  .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .elenco { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .turma-grade { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-vitrine { max-width: 520px; margin-inline: auto; width: 100%; }
  .head-linha.com-cena .cena-solta { margin-inline: auto; }
}
@media (max-width: 600px) {
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .reel figcaption b { font-size: 16px; }
  .elenco { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .ator p { font-size: 14px; }
  .chamada-grade { flex-wrap: wrap; }
  .chamada .cena-mini { width: 110px; }
  .termos-cena { width: 110px; }
  .hero-vitrine, .colagem { height: auto; min-height: 0; }
  .pg-hero .colagem { height: 280px; }
}
.js .reel.extra { display: none; }
.mais-reels { justify-content: center; margin-top: 30px; }
.reel-play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.reel-play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(30,43,58,.82); box-shadow: 0 0 0 4px rgba(248,197,90,.9); transition: transform .2s ease; }
.reel-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -8px; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #F8C55A; }
.reel-play:hover::before, .reel-play:focus-visible::before { transform: scale(1.1); }
.reel-tela.tocando .reel-play, .reel-tela.tocando .reel-selo { display: none; }
.brand { min-height: 44px; }
.faixa a { display: inline-block; padding-block: 6px; }
@media (prefers-reduced-motion: reduce) { .lapis { display: none; } }
.hero-vitrine .selo-gira { left: -14px; right: auto; }
.papel-cena[data-cena="perdido"] { max-width: 360px; margin-inline: auto; }

/* Quem somos */
.autor { display: inline-flex; align-items: center; gap: 12px; max-width: 520px; padding: 10px 16px; border-radius: 14px; background: rgba(247,243,236,.1); border: 1.5px dashed rgba(248,197,90,.6); color: var(--claro); text-decoration: none; font-size: 15px; line-height: 1.35; transition: background-color .2s ease; }
.autor:hover { background: rgba(247,243,236,.18); }
.autor b { color: #F8C55A; }
.autor .ic { color: #F8C55A; }
.cor-tinta { background: #1E2B3A; color: #F7F3EC; }
.pecas.quatro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pecas.quatro h3 { font-size: 25px; }
.formacao-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.formacao { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.formacao li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: rgba(247,243,236,.08); border-left: 4px solid #E3A72F; }
.formacao b { font-family: var(--display); font-size: 21px; font-weight: 600; }
.formacao span { color: color-mix(in srgb, var(--claro) 80%, transparent); font-size: 16px; }
.linha-tempo { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 18px; max-width: 760px; }
.linha-tempo::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 3px dashed var(--terracota); }
.linha-tempo li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.linha-tempo li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: #E3A72F; border: 3px solid var(--linho); }
.linha-tempo .ano { font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--thread); }
@media (max-width: 860px) { .formacao-grade, .pecas.quatro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .linha-tempo li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .autor { font-size: 14px; } }
.curso-destaque { margin-top: 24px; display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: 20px; background: var(--paper); color: #1E2B3A; text-decoration: none; box-shadow: var(--shadow); border: 2px dashed #E3A72F; transition: transform .2s ease; }
.curso-destaque:hover { transform: translateY(-4px) rotate(-.3deg); }
.curso-destaque .jeito-ic { background: #F8E7BF; color: #A9442E; flex: none; }
.curso-txt { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.curso-txt b { font-family: var(--display); font-size: 26px; font-weight: 600; line-height: 1.15; }
.curso-txt > span:last-child { color: #5E5850; font-size: 16px; }
.curso-destaque .btn { flex: none; }
@media (max-width: 700px) { .curso-destaque { flex-direction: column; align-items: flex-start; } }

/* ================= celular (20/10/2026): cabeçalho numa linha, cards de kit em coluna, toques maiores ================= */
html, body { overflow-x: clip; }
@media (max-width: 600px) {
  .tag { width: calc(100% - 28px); }
  .grade.g3:has(> .kitcard) { grid-template-columns: minmax(0, 1fr); }
  .btn, .btn.small { min-height: 44px; }
  footer a { display: inline-block; padding-block: 8px; }
  .faixa a { display: inline-block; padding-block: 6px; }
  .filtros a, .pilulas-nav a { min-height: 44px; }
}
@media (max-width: 430px) {
  header.top .wrap { gap: 8px; }
  header.top .brand { min-width: 0; }
  header.top .brand span { font-size: 17px; white-space: nowrap; }
  header.top .btn.pedido { padding: 8px 11px; font-size: 13.5px; min-height: 40px; }
  .menu-btn { padding: 8px 9px; min-height: 40px; min-width: 40px; justify-content: center; }
}

/* etiqueta "Pode ser usada em" (22/10/2026) */
.usos { margin: 4px 0 6px; font-size: 13px; line-height: 1.35; color: var(--ink); background: color-mix(in srgb, var(--surface, #fff) 70%, transparent); border: 1px dashed currentColor; border-radius: 8px; padding: 4px 8px; display: inline-block; }
.usos span { font-weight: 700; }

/* ===== Promoção dos kits da Consciência Negra (some depois do fim, via feitio.js) ===== */
:root { --ameixa: #7B3F6E; --ameixa-escura: #4E2445; }
.pos-promo { display: none; }
html.promo-fim [data-promo] { display: none !important; }
html.promo-fim .pos-promo { display: inline; }
.faixa .so-promo b { color: #F8E7BF; }

.promo { position: relative; overflow: hidden; color: #F7F3EC; background: radial-gradient(120% 90% at 85% 20%, #9A4F89 0%, var(--ameixa) 45%, var(--ameixa-escura) 100%); padding: 72px 0 0; }
.promo-tecido { position: absolute; inset: -40px; opacity: .16; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, #E3A72F 0 14px, transparent 14px 28px, #A9442E 28px 36px, transparent 36px 64px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(247,243,236,.7) 22px 26px, transparent 26px 52px);
  -webkit-mask-image: linear-gradient(115deg, transparent 20%, #000 75%); mask-image: linear-gradient(115deg, transparent 20%, #000 75%); }
.promo-grade { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-bottom: 64px; }
.promo-tag { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(247,243,236,.14); border: 1px solid rgba(247,243,236,.35); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.pulso { width: 10px; height: 10px; border-radius: 50%; background: #E3A72F; box-shadow: 0 0 0 0 rgba(227,167,47,.7); }
.promo h2 { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 14px; color: #F7F3EC; }
.promo h2 em { font-style: italic; color: #F8E7BF; }
.promo-preco { display: inline-block; padding: 0 .18em; background: #E3A72F; color: #1E2B3A; border-radius: 10px; transform: rotate(-2deg); white-space: nowrap; }
.promo-de { font-size: 18px; max-width: 34em; margin: 0 0 22px; color: rgba(247,243,236,.9); }
.promo-de s, .promo-caixa s { opacity: .8; text-decoration-thickness: 2px; text-decoration-color: #E3A72F; }
.promo-termina { margin: 0 0 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #F8E7BF; }
.contagem { display: flex; gap: 10px; margin: 0 0 26px; }
.contagem .cx { display: grid; place-items: center; min-width: 74px; padding: 10px 8px 8px; border-radius: 12px; background: #F7F3EC; color: var(--ameixa-escura); box-shadow: 0 6px 0 rgba(0,0,0,.25); }
.contagem b { font-family: var(--display); font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.contagem small { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); }
.contagem b.vira { animation: vira .45s ease; }
.contagem.pequena { margin: 10px 0 0; }
.contagem.pequena .cx { min-width: 58px; padding: 6px; }
.contagem.pequena b { font-size: 26px; }
.promo .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.brilho { position: relative; overflow: hidden; }
.btn.brilho::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); }

.promo-vitrine { position: relative; height: 470px; }
.pk { position: absolute; width: 40%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 22px 40px -16px rgba(0,0,0,.55); transition: transform .25s ease; --r: 0deg; transform: rotate(var(--r)); }
.pk img { display: block; width: 100%; height: auto; }
.pk span { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: #1E2B3A; color: #F7F3EC; font-size: 13px; font-weight: 700; }
.pk1 { left: 6%; top: 2%; --r: -6deg; }
.pk2 { left: 52%; top: 0; --r: 4deg; }
.pk3 { left: 2%; top: 42%; --r: 3deg; z-index: 2; }
.pk4 { left: 48%; top: 40%; --r: -5deg; z-index: 2; }
.pk:hover, .pk:focus-visible { transform: rotate(0) scale(1.06); z-index: 5; animation: none; }
.promo-selo { position: absolute; right: -8px; bottom: -10px; z-index: 6; width: 128px; height: 128px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: #E3A72F; color: #1E2B3A; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); outline: 3px dashed #1E2B3A; outline-offset: -10px; transform: rotate(-12deg); }
.promo-selo b { font-family: var(--display); font-size: 40px; line-height: 1; }
.promo-selo small { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; }

.promo-fita { position: relative; background: #E3A72F; color: #1E2B3A; font-weight: 700; padding: 12px 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px -6px; }
.promo-fita-faixa { display: flex; width: max-content; white-space: nowrap; }
.promo-fita-faixa span { padding-right: 8px; }

.promo-caixa { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; margin-top: 28px; padding: 22px 26px; border-radius: 16px; color: #F7F3EC; background: linear-gradient(120deg, var(--ameixa-escura), var(--ameixa) 60%, #9A4F89); box-shadow: var(--shadow); }
.promo-caixa h3 { margin: 0; font-family: var(--display); font-size: clamp(22px, 3vw, 30px); color: #F7F3EC; }
.promo-caixa .promo-tag { margin-bottom: 8px; }

.barra-promo { position: fixed; left: 50%; bottom: 14px; z-index: 60; display: flex; align-items: center; gap: 12px; width: min(680px, calc(100% - 24px)); padding: 10px 10px 10px 18px; border-radius: 14px; color: #F7F3EC; background: var(--ameixa-escura); box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); transform: translate(-50%, 140%); transition: transform .35s ease; }
.barra-promo.mostra { transform: translate(-50%, 0); }
.barra-promo p { margin: 0; flex: 1; font-size: 15px; line-height: 1.3; }
.barra-promo p span { display: block; color: #F8E7BF; font-size: 14px; }
.barra-fechar { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(247,243,236,.14); color: #F7F3EC; font-size: 22px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: no-preference) {
  .pulso { animation: pulso 1.6s ease-out infinite; }
  @keyframes pulso { 70% { box-shadow: 0 0 0 12px rgba(227,167,47,0); } 100% { box-shadow: 0 0 0 0 rgba(227,167,47,0); } }
  .promo-tecido { animation: tecido 18s linear infinite; }
  @keyframes tecido { to { background-position: 128px 0, 0 104px; } }
  .pk { animation: flutua 6s ease-in-out infinite; }
  .pk2 { animation-delay: -1.5s; } .pk3 { animation-delay: -3s; } .pk4 { animation-delay: -4.5s; }
  .pk:hover { animation-play-state: paused; }
  .promo-selo { animation: selo 3.2s ease-in-out infinite; }
  @keyframes selo { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.08); } }
  .btn.brilho::after { animation: brilho 3.2s ease-in-out infinite; }
  @keyframes brilho { 0%, 55% { left: -60%; } 100% { left: 130%; } }
  .promo-fita-faixa { animation: esteira 40s linear infinite; }
  @keyframes vira { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: none; opacity: 1; } }
}
@media (max-width: 860px) {
  .promo { padding-top: 28px; }
  .promo h2 { font-size: 34px; }
  .promo-de { font-size: 16px; margin-bottom: 16px; }
  .promo-grade { grid-template-columns: 1fr; gap: 10px; padding-bottom: 40px; }
  .promo-vitrine { height: 300px; max-width: 360px; width: 100%; margin: 18px auto 0; }
  .promo-selo { width: 90px; height: 90px; bottom: -6px; }
  .pk span { font-size: 11px; padding: 2px 8px; }
  .promo-tag { font-size: 12px; }
  .promo-selo b { font-size: 30px; }
  .contagem { gap: 8px; }
  .contagem .cx { min-width: 0; flex: 1; }
  .contagem b { font-size: 30px; }
  .promo .actions .btn { flex: 1 1 100%; text-align: center; }
  .barra-promo { bottom: 8px; }
}
.barra-promo p .sem-quebra { display: inline; white-space: nowrap; color: inherit; font-size: inherit; }
.numeros { padding: 34px 0; }
.numeros-grade { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.numeros .pilulas { margin: 0; }

/* ===== Filtro de atividades ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filtro { position: sticky; top: var(--topo-h, 64px); z-index: 30; padding: 12px 0; background: rgba(247,243,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px -14px rgba(30,43,58,.5); }
.filtro-caixa { display: grid; gap: 10px; }
.filtro-linha { display: flex; gap: 10px; }
.filtro-busca { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-muted); }
.filtro-busca:focus-within, .filtro-comp select:focus-visible { border-color: var(--brand); outline: 2px solid var(--brand); outline-offset: 1px; }
.filtro-busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 11px 0; color: var(--ink); }
.filtro-comp select { height: 100%; min-height: 46px; max-width: 220px; padding: 0 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.filtro-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filtro-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--brand); background: transparent; color: var(--brand); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.chip[aria-pressed="true"] { background: var(--brand); color: #F7F3EC; transform: translateY(-1px); }
.filtro-total { margin: 0; font-size: 14px; color: var(--ink-muted); min-height: 1em; }
.filtro-total button { border: 0; background: none; color: var(--thread); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0 0 0 6px; }
.filtrando .abas { display: none; }
.filtrando .painel[hidden] { display: block; }
.filtrando .painel .kit-head { margin-top: 18px; }
[data-oculto] { display: none !important; }
.filtro-vazio { text-align: center; padding: 40px 16px; font-size: 18px; }
@media (max-width: 600px) {
  .filtro { position: static; padding: 14px 0; }
  .filtro-linha { flex-wrap: wrap; }
  .filtro-comp { flex: 1 1 100%; }
  .filtro-comp select { width: 100%; max-width: none; }
}

/* ===== Acessibilidade ===== */
.acesso { position: fixed; left: 0; top: 50%; z-index: 70; transform: translateY(-50%); }
.acesso-btn { display: grid; place-items: center; width: 46px; height: 52px; border: 0; border-radius: 0 14px 14px 0; background: var(--brand); color: #F7F3EC; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(0,0,0,.5); }
.acesso-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.acesso-painel { position: absolute; left: 54px; top: 50%; transform: translateY(-50%); width: 250px; padding: 16px; border-radius: 14px; background: #fff; color: #1E2B3A; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); border: 1px solid var(--line); }
.acesso-tit { margin: 0 0 10px; font-weight: 700; font-size: 17px; }
.acesso-letra { display: flex; gap: 6px; margin-bottom: 12px; }
.acesso-letra button { flex: 1; min-height: 44px; border: 2px solid var(--brand); border-radius: 10px; background: #fff; color: var(--brand); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.acesso-letra button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.acesso-op { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; cursor: pointer; }
.acesso-op input { width: 20px; height: 20px; accent-color: var(--brand); }
.acesso-nota { margin: 8px 0 0; font-size: 13px; color: #5E5850; }
html.sem-movimento *, html.sem-movimento *::before, html.sem-movimento *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.sem-movimento .esteira-trilho { overflow-x: auto; }
html.alto-contraste body { background: #000 !important; }
html.alto-contraste body *:not(img):not(svg):not(svg *):not(.pk):not(.capa) { background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.alto-contraste a, html.alto-contraste a * { color: #FFE14D !important; }
html.alto-contraste .btn, html.alto-contraste button { border: 2px solid #FFE14D !important; }
html.alto-contraste img { filter: none; }
html.zoom-1 body { zoom: 1.15; }
html.zoom-2 body { zoom: 1.3; }
html.zoom--1 body { zoom: .9; }
@media (max-width: 600px) { .acesso-btn { width: 34px; height: 44px; opacity: .92; } .acesso-btn svg { width: 22px; height: 22px; } .acesso-painel { left: 46px; width: min(250px, calc(100vw - 60px)); } }
html.alto-contraste .menu-ic i { background-color: #fff !important; }

/* ===== Quiz "Que professor você é?" ===== */
.quiz { padding: 72px 0; }
.quiz-grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.quiz-priv { font-size: 14px; color: var(--ink-muted); max-width: 30em; }
.quiz-jogo { position: relative; overflow: hidden; min-height: 420px; padding: 28px; border-radius: 22px; background: #fff; border: 3px solid #1E2B3A; box-shadow: 8px 8px 0 #1E2B3A; display: flex; flex-direction: column; }
.q-trilha { height: 10px; border-radius: 999px; background: #F3E9D6; margin-bottom: 22px; overflow: visible; }
.q-lapis { display: block; position: relative; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #E3A72F, #A9442E); transition: width .45s cubic-bezier(.3,1.4,.5,1); }
.q-lapis::after { content: "✏️"; position: absolute; right: -14px; top: -12px; font-size: 22px; }
.q-tela { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.q-tela[hidden] { display: none; }
.q-inicio { align-items: center; text-align: center; gap: 18px; }
.q-grande { font-family: var(--display); font-size: 30px; margin: 0; }
.q-passo { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-passo legend { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; padding: 0; color: #1E2B3A; }
.q-num { display: block; margin: 0 0 6px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--thread); }
.q-dica { margin: 6px 0 16px; color: var(--ink-muted); }
.q-ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.q-op { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; text-align: left; border: 2px solid #1E2B3A; border-radius: 14px; background: #FFFDF8; color: #1E2B3A; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer; box-shadow: 3px 3px 0 #1E2B3A; transition: transform .12s ease, box-shadow .12s ease, background-color .12s; }
.q-op:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 #1E2B3A; background: #F8E7BF; }
.q-op:active, .q-op.escolhida { transform: translate(2px, 2px); box-shadow: 0 0 0 #1E2B3A; background: #E3A72F; }
.q-op:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.q-emoji { font-size: 26px; line-height: 1; flex: none; }
.q-final { position: relative; justify-content: flex-start; }
.q-perfil { position: relative; padding: 18px 18px 14px 96px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(120deg, #F8E7BF, #F3DCD2); }
.q-perfil h3 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(26px, 3.4vw, 34px); color: #1E2B3A; outline: none; }
.q-perfil p { margin: 0 0 8px; }
.q-extra { font-weight: 600; color: #1F5F63; }
.q-medalha { position: absolute; left: 16px; top: 18px; width: 64px; height: 64px; display: grid; place-items: center; font-size: 34px; border-radius: 50%; background: #E3A72F; border: 3px solid #1E2B3A; box-shadow: 3px 3px 0 #1E2B3A; }
.q-sugs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.q-sug { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: #1E2B3A; font-weight: 700; font-size: 14px; line-height: 1.25; }
.q-sug img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5); transition: transform .2s; }
.q-sug:hover img { transform: translateY(-4px) rotate(-1deg); }
.q-gratis { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #E8A0B4; color: #1E2B3A; font-size: 12px; }
.q-acoes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.q-denovo { border: 0; background: none; font: inherit; font-weight: 700; color: var(--thread); text-decoration: underline; cursor: pointer; padding: 10px; }
.q-confete { position: absolute; top: -10px; left: var(--x); width: 9px; height: 14px; border-radius: 2px; background: hsl(var(--h), 75%, 55%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .q-passo.entra { animation: qentra .35s cubic-bezier(.2,1.2,.4,1); }
  @keyframes qentra { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
  .q-final:not([hidden]) .q-perfil { animation: qpula .6s cubic-bezier(.2,1.5,.4,1); }
  @keyframes qpula { 0% { transform: scale(.85); opacity: 0; } 100% { transform: none; opacity: 1; } }
  .q-medalha { animation: selo 3s ease-in-out infinite; }
  .q-confete { animation: qcai 1.6s ease-in var(--d) forwards; }
  @keyframes qcai { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(460px) rotate(540deg); } }
  .quiz-jogo[data-fase="inicio"] .q-comecar { animation: brilho-pulso 1.8s ease-in-out infinite; }
  @keyframes brilho-pulso { 50% { transform: scale(1.06); } }
}
@media (max-width: 860px) {
  .quiz { padding: 48px 0; }
  .quiz-grade { grid-template-columns: 1fr; gap: 18px; }
  .quiz-jogo { padding: 20px 16px; min-height: 380px; box-shadow: 5px 5px 0 #1E2B3A; }
  .q-ops { grid-template-columns: 1fr; }
  .q-op { min-height: 52px; }
  .q-perfil { padding: 86px 16px 14px; }
  .q-medalha { left: 16px; top: 14px; }
  .q-sugs { gap: 8px; }
  .q-sug { font-size: 12.5px; }
}
html.alto-contraste .q-op.escolhida { outline: 3px solid #FFE14D; }

/* Celular: o botão de acessibilidade sai do meio da tela (cobria o texto) e fica no canto inferior esquerdo, acima da barra da promoção */
@media (max-width: 700px) {
  .acesso { top: auto; bottom: 100px; left: 8px; transform: none; }
  .acesso-btn { width: 48px; height: 48px; border-radius: 50%; }
  .acesso-painel { top: auto; bottom: 0; transform: none; left: 56px; width: min(250px, calc(100vw - 80px)); }
}

/* Página inicial: a promoção já é a primeira seção, então a faixa do topo não a repete (vini, 23/10/2026). */
html:not(.promo-fim) .faixa.inicio { display: none; }

/* Reorganização de 23/10/2026 (prévia para vini) */
.hero .dois-jeitos { margin-top: 36px; }
.sub-etapa { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 28px 0 14px; }
.painel .kit-head { margin-top: 32px; }
.abas-etapa { flex-wrap: wrap; }
#combo { margin-top: 40px; scroll-margin-top: 90px; }
#gratis, #kits { position: relative; top: -90px; display: block; }
.usos { border: 0; background: none; padding: 0; display: block; font-size: 13px; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.avulsa-preco { font-weight: 700; font-size: 15px; }
@media (max-width: 700px) { .hero .hero-vitrine { display: none; } }

/* Contraste AA (axe, 23/10/2026): textos claros sobre terracota e petróleo, amarelo sobre petróleo, terracota sobre rosa. */
.escuro.petroleo .eyebrow, .measure .eyebrow, .fundo.petroleo .eyebrow, .formacao-grade .eyebrow { color: #F6D58A; }
.tile.cor-terracota .etapa, .tile.cor-terracota .desc, .cor-terracota .etapa, .cor-terracota .desc { color: #FFF3EC; opacity: 1; }
.fundo.terracota .lead { color: #FFF3EC; opacity: 1; }
.fundo.terracota-claro .eyebrow, .pg-hero .eyebrow { color: #93361F; }
.escuro .pg-hero .eyebrow, .pg-hero.escuro .eyebrow { color: var(--amarelo); }
.formacao span { color: #E8EFEB; }
.kitcard .etapa { color: inherit; opacity: 1; }
.tile.cor-terracota .seta { color: #FFE2A3; }
.fields li span:nth-child(2) { color: #D5E1DE; opacity: 1; }
.atalho-etapa { margin-top: 22px; }
.atalho-etapa p { font-weight: 700; margin: 0 0 10px; }
.atalho-etapa div { display: flex; flex-wrap: wrap; gap: 10px; }
.atalho-etapa a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid currentColor; color: var(--claro); text-decoration: none; font-weight: 700; }
.atalho-etapa a:hover, .atalho-etapa a:focus-visible { background: var(--claro); color: var(--petroleo-fundo); }
.promo-tecido { animation: none; }  /* menos movimento na primeira tela (até 3 tipos) */
.atalho-etapa .atalho-mais { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 0; font-weight: 700; }
.atalho-etapa .atalho-mais a { border: 0; padding: 8px 0; min-height: 44px; border-radius: 0; color: #F6D58A; text-decoration: underline; text-underline-offset: 4px; gap: 6px; }
.atalho-etapa .atalho-mais a:hover, .atalho-etapa .atalho-mais a:focus-visible { background: none; color: var(--claro); }
